package com.example.entity.vo.pc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel(value = "资源列表Vo")
@Data
public class ResourceListVo {

    @ApiModelProperty(value = "资源ID")
    @TableId(value = "resourceId", type = IdType.AUTO)
    private Integer resourceid;

    @ApiModelProperty(value = "工厂ID")
    @TableField("factoryId")
    private Integer factoryId;

    @ApiModelProperty(value = "工厂名称")
    @TableField("factoryName")
    private String factoryname;

    @ApiModelProperty(value = "工厂编号")
    @TableField("factoryNO")
    private String factoryno;

    @ApiModelProperty(value = "具体资源组(设备ID)")
    @TableField("resourceGroupIdIsF")
    private Integer resourceGroupIdIsF;

    @ApiModelProperty(value = "资源组ID")
    @TableField("resourceGroupId")
    private Integer resourceGroupId;

    @ApiModelProperty(value = "资源组名称")
    @TableField("resourceGroupName")
    private String resourceGroupName;

    @ApiModelProperty(value = "资源组编号")
    @TableField("resourceGroupNO")
    private String resourceGroupNO;

    @ApiModelProperty(value = "设备编号")
    @TableField("deviceId")
    private String deviceid;

    @ApiModelProperty(value = "出厂编号")
    @TableField("SN")
    private String SN;

    @ApiModelProperty(value = "设备型号")
    @TableField("deviceModel")
    private String devicemodel;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    @TableField("deviceName")
    private String devicename;

    /**
     * 规格
     */
    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "制造商")
    private String manufacturer;

    /**
     * 有效年限
     */
    @ApiModelProperty(value = "有效年限")
    @TableField("validityPeriod")
    private String validityperiod;

    @ApiModelProperty(value = "出厂日期")
    @TableField("exfactoryDate")
    private String exfactorydate;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "资源类别(1. 设备 2. 生产线)")
    @TableField("resourceType")
    private String resourceType;

    /**
     * 使用部门
     */
    @ApiModelProperty(value = "使用部门")
    @TableField("useDepartment")
    private String usedepartment;

    @ApiModelProperty(value = "机台状态")
    private String status;

    @ApiModelProperty(value = "MOCTY的UUID")
    @TableField("moctyudf05")
    private String moctyudf05;

    @ApiModelProperty(value = "机台状态变化的时间")
    @TableField("changeTime")
    private String changeTime;

    @ApiModelProperty(value = "上一次巡检单生成时间(如果之前没有巡检单，则按上机时间来)")
    @TableField("inspectionTime")
    private String inspectionTime;

    @ApiModelProperty(value = "工作中心ID")
    @TableField("workCenter")
    private String workCenter;

    @ApiModelProperty(value = "工作中心名称")
    @TableField("workCenterName")
    private String workCenterName;

    @ApiModelProperty(value = "排产数量 正在生产中的排产单")
    private BigDecimal moctyNums;

    @ApiModelProperty(value = "报工数量 正在生产中的排产单")
    private BigDecimal bgNums;

    @ApiModelProperty(value = "入库数量(已生产数量 合格数量)")
    private BigDecimal productionNums;

    @ApiModelProperty(value = "工单单别 正在生产中的排产单")
    private String ty001;

    @ApiModelProperty(value = "工单单号 正在生产中的排产单")
    private String ty002;

    @ApiModelProperty(value = "进站时间  正在生产中的排产单")
    private String macOnTime;

    @ApiModelProperty(value = "节拍  正在生产中的排产单")
    private String beat;

    @ApiModelProperty("订单单别 正在生产中的排产单")
    private String orderSingle;

    @ApiModelProperty("订单单号 正在生产中的排产单")
    private String orderNo;

    @ApiModelProperty("订单序号 正在生产中的排产单")
    private String orderSerialId;

    @ApiModelProperty(value = "客户简称  正在生产中的排产单")
    private String customSimpleName;

    @ApiModelProperty(value = "销售订单的数量  正在生产中的排产单")
    private BigDecimal saleOrderNum;

    @ApiModelProperty(value = "进站时间")
    @TableField("jinzhanTime")
    private String jinzhanTime;

    @ApiModelProperty(value = "进站UUID")
    @TableField("jinzhanUuid")
    private String jinzhanUuid;

    @ApiModelProperty(value = "签到签退UUID")
    @TableField("qiandaoUuid")
    private String qiandaouuid;

    @ApiModelProperty(value = "在上机中的工作人员编号")
    @TableField("workPersonId")
    private String workPersonId;

    @ApiModelProperty(value = "在上机中的工作人员名称")
    @TableField("workPersonName")
    private String workPersonName;

    @ApiModelProperty(value = "工作人员上机时间")
    @TableField("workPersonTime")
    private String workPersonTime;

    @ApiModelProperty(value = "最后二級保养日 YYYY-MM-DD")
    private String lvTwoLastMaintenanceDay;

    @ApiModelProperty(value = "最后三級保养日 YYYY-MM-DD")
    private String lvThreeLastMaintenanceDay;
}
